{%- set default_cable = '0m' %}

{%- include 'buffer_ports_t1.j2' %}

{%- macro generate_buffer_pool_and_profiles() %}
    "BUFFER_POOL": {
        "ingress_lossless_pool": {
            "size": "12766208",
            "type": "ingress",
            "mode": "dynamic"
        },
        "egress_lossless_pool": {
            "size": "12766208",
            "type": "egress",
            "mode": "static"
        },
        "egress_lossy_pool": {
            "size": "7326924",
            "type": "egress",
            "mode": "dynamic"
        }
    },
    "BUFFER_PROFILE": {
        "ingress_lossy_profile": {
            "pool":"ingress_lossless_pool",
            "size":"0",
            "dynamic_th":"3"
        },
        "egress_lossless_profile": {
            "pool":"egress_lossless_pool",
            "size":"0",
            "static_th":"12766208"
        },
        "egress_lossy_profile": {
            "pool":"egress_lossy_pool",
            "size":"1518",
            "dynamic_th":"3"
        }
    },
{%- endmacro %}
